package com.ksm.zyz.sys.entity;

public class Message {
	
	private boolean success;
	private Object msg;
	
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	private static Message instance;

	/**
	 * 无参构造函数
	 */
	public Message(){}

	/**
	 * 消息提示
	 * @param success
	 * @param msg
	 */
	public Message(boolean success,Object msg){
		this.success = success;
		this.msg = msg;
	}

	/**
	 * 成功消息提示
	 */
	public Message(Object msg){
		this.success = true;
		this.msg = msg;
	}
}
